﻿<%@ Page Title="" Language="C#" MasterPageFile="~/_page.Master" AutoEventWireup="true" CodeBehind="TypeRelation-Add.aspx.cs" Inherits="SmartSpace.WebApp.Modules.Orgs.Pages.TypeRelation_Add" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentTitle" runat="server">
    设置关联的机构类型
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentHead" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentBody" runat="server">
    <div>
        <asp:LinkButton runat="server" ID="btn_Save" Text="添加" OnClick="btn_Save_Click1" />
    </div>
    <div>
       <table class="ss-list" style="width:100%;" cellspacing="0" cellpadding="0">
        <tr>
            <th style="width:50px;"><input type="checkbox" /></th>
            <th>Id</th>
            <th>Code</th>
            <th>Caption</th>
        </tr>
        <asp:Repeater ID="rep1" runat="server">
            <ItemTemplate>
                <tr>
                    <td>
                        <asp:CheckBox runat="server" ID="checkNodeType" />
                        <asp:HiddenField ID="nodeTypeId" runat="server" Value='<%# Eval("Id") %>' />
                    </td>
                    <td><a href='NodeTypeList.aspx?ParentTypeId=<%# Eval("Id") %>' ><%# Eval("Id") %></a></td>
                    <td><%# Eval("Code") %></td>
                    <td><%# Eval("Caption") %></td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>
    </div>
</asp:Content>
